	.file	1 "main.c"
	.section .mdebug.abi32
	.previous
	.abicalls
	.text
	.align	2
	.globl	isNumber
	.ent	isNumber
isNumber:
	.frame	$fp,24,$ra		# vars= 8, regs= 2/0, args= 0, extra= 8
	.mask	0x50000000,-4
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,24
	.cprestore 0
	sw	$fp,20($sp)
	sw	$gp,16($sp)
	move	$fp,$sp
	sw	$a0,24($fp)
	sw	$zero,8($fp)
	lw	$v0,24($fp)
	slt	$v0,$v0,48
	bne	$v0,$zero,$L18
	lw	$v0,24($fp)
	slt	$v0,$v0,58
	beq	$v0,$zero,$L18
	li	$v0,1			# 0x1
	sw	$v0,8($fp)
$L18:
	lw	$v0,8($fp)
	move	$sp,$fp
	lw	$fp,20($sp)
	addu	$sp,$sp,24
	j	$ra
	.end	isNumber
	.size	isNumber, .-isNumber
	.align	2
	.globl	stoi
	.ent	stoi
stoi:
	.frame	$fp,48,$ra		# vars= 8, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,48
	.cprestore 16
	sw	$ra,40($sp)
	sw	$fp,36($sp)
	sw	$gp,32($sp)
	move	$fp,$sp
	sw	$a0,48($fp)
	sw	$zero,24($fp)
$L20:
	lw	$v0,48($fp)
	lb	$v0,0($v0)
	move	$a0,$v0
	la	$t9,isNumber
	jal	$ra,$t9
	bne	$v0,$zero,$L22
	b	$L21
$L22:
	lw	$v1,24($fp)
	move	$v0,$v1
	sll	$v0,$v0,2
	addu	$v0,$v0,$v1
	sll	$v0,$v0,1
	sw	$v0,24($fp)
	lw	$v0,48($fp)
	lb	$v1,0($v0)
	lw	$v0,24($fp)
	addu	$v0,$v1,$v0
	addu	$v0,$v0,-48
	sw	$v0,24($fp)
	lw	$v0,48($fp)
	addu	$v0,$v0,1
	sw	$v0,48($fp)
	b	$L20
$L21:
	lw	$v0,24($fp)
	move	$sp,$fp
	lw	$ra,40($sp)
	lw	$fp,36($sp)
	addu	$sp,$sp,48
	j	$ra
	.end	stoi
	.size	stoi, .-stoi
	.rdata
	.align	2
$LC0:
	.ascii	"Hubo un error al procesar la resolucion. Especificar sol"
	.ascii	"o pixels horizontales y verticales\n\000"
	.align	2
$LC1:
	.ascii	"Hubo un error al procesar la resolucion: caracteres inva"
	.ascii	"lidos.\n\000"
	.align	2
$LC2:
	.ascii	"Hubo un error al procesar la resolucion. Se especifico s"
	.ascii	"olo pixels horizontales.\n\000"
	.align	2
$LC3:
	.ascii	"Resolucion invalida.\n\000"
	.text
	.align	2
	.globl	getResolution
	.ent	getResolution
getResolution:
	.frame	$fp,72,$ra		# vars= 32, regs= 4/0, args= 16, extra= 8
	.mask	0xd0010000,-4
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,72
	.cprestore 16
	sw	$ra,68($sp)
	sw	$fp,64($sp)
	sw	$gp,60($sp)
	sw	$s0,56($sp)
	move	$fp,$sp
	sw	$a0,72($fp)
	sw	$a1,76($fp)
	sw	$a2,80($fp)
	sw	$zero,24($fp)
	sw	$zero,28($fp)
	sw	$zero,32($fp)
	sw	$zero,36($fp)
	sw	$zero,40($fp)
	sw	$zero,44($fp)
$L24:
	lw	$v1,72($fp)
	lw	$v0,28($fp)
	addu	$v0,$v1,$v0
	lb	$v0,0($v0)
	bne	$v0,$zero,$L26
	b	$L25
$L26:
	lw	$v0,36($fp)
	slt	$v0,$v0,2
	bne	$v0,$zero,$L27
	la	$a0,__sF+176
	la	$a1,$LC0
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v0,2			# 0x2
	sw	$v0,48($fp)
	b	$L23
$L27:
	sw	$zero,32($fp)
$L28:
	lw	$v1,72($fp)
	lw	$v0,28($fp)
	addu	$v0,$v1,$v0
	lb	$v0,0($v0)
	beq	$v0,$zero,$L29
	lw	$v1,72($fp)
	lw	$v0,28($fp)
	addu	$v0,$v1,$v0
	lb	$v1,0($v0)
	li	$v0,120			# 0x78
	bne	$v1,$v0,$L30
	b	$L29
$L30:
	lw	$v1,72($fp)
	lw	$v0,28($fp)
	addu	$v0,$v1,$v0
	lb	$v0,0($v0)
	move	$a0,$v0
	la	$t9,isNumber
	jal	$ra,$t9
	bne	$v0,$zero,$L32
	la	$a0,__sF+176
	la	$a1,$LC1
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v0,2			# 0x2
	sw	$v0,48($fp)
	b	$L23
$L32:
	lw	$v0,36($fp)
	sll	$v1,$v0,2
	addu	$v0,$fp,24
	addu	$v0,$v1,$v0
	addu	$s0,$v0,16
	lw	$v0,36($fp)
	sll	$v1,$v0,2
	addu	$v0,$fp,24
	addu	$v0,$v1,$v0
	addu	$v1,$v0,16
	lw	$v0,32($fp)
	addu	$v0,$v0,2
	lw	$a0,0($v1)
	move	$a1,$v0
	la	$t9,realloc
	jal	$ra,$t9
	sw	$v0,0($s0)
	lw	$v0,36($fp)
	sll	$v1,$v0,2
	addu	$v0,$fp,24
	addu	$v0,$v1,$v0
	addu	$v0,$v0,16
	lw	$v1,0($v0)
	lw	$v0,32($fp)
	addu	$a0,$v1,$v0
	lw	$v1,72($fp)
	lw	$v0,28($fp)
	addu	$v0,$v1,$v0
	lbu	$v0,0($v0)
	sb	$v0,0($a0)
	lw	$v0,28($fp)
	addu	$v0,$v0,1
	sw	$v0,28($fp)
	lw	$v0,32($fp)
	addu	$v0,$v0,1
	sw	$v0,32($fp)
	b	$L28
$L29:
	lw	$v0,28($fp)
	addu	$v0,$v0,1
	sw	$v0,28($fp)
	lw	$v0,36($fp)
	addu	$v0,$v0,1
	sw	$v0,36($fp)
	b	$L24
$L25:
	lw	$v1,36($fp)
	li	$v0,2			# 0x2
	beq	$v1,$v0,$L33
	la	$a0,__sF+176
	la	$a1,$LC2
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v0,2			# 0x2
	sw	$v0,48($fp)
	b	$L23
$L33:
	lw	$a0,40($fp)
	la	$t9,stoi
	jal	$ra,$t9
	move	$v1,$v0
	lw	$v0,76($fp)
	sw	$v1,0($v0)
	lw	$a0,44($fp)
	la	$t9,stoi
	jal	$ra,$t9
	move	$v1,$v0
	lw	$v0,80($fp)
	sw	$v1,0($v0)
	lw	$v0,40($fp)
	beq	$v0,$zero,$L34
	lw	$a0,40($fp)
	la	$t9,free
	jal	$ra,$t9
$L34:
	lw	$v0,44($fp)
	beq	$v0,$zero,$L35
	lw	$a0,44($fp)
	la	$t9,free
	jal	$ra,$t9
$L35:
	lw	$v0,76($fp)
	lw	$v0,0($v0)
	andi	$v0,$v0,0x7
	bne	$v0,$zero,$L37
	lw	$v0,80($fp)
	lw	$v0,0($v0)
	andi	$v0,$v0,0x7
	bne	$v0,$zero,$L37
	b	$L36
$L37:
	la	$a0,__sF+176
	la	$a1,$LC3
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v0,2			# 0x2
	sw	$v0,48($fp)
	b	$L23
$L36:
	lw	$v0,24($fp)
	sw	$v0,48($fp)
$L23:
	lw	$v0,48($fp)
	move	$sp,$fp
	lw	$ra,68($sp)
	lw	$fp,64($sp)
	lw	$s0,56($sp)
	addu	$sp,$sp,72
	j	$ra
	.end	getResolution
	.size	getResolution, .-getResolution
	.rdata
	.align	2
$LC8:
	.ascii	"1\000"
	.align	2
$LC9:
	.ascii	"0\000"
	.data
	.align	2
$LC10:
	.word	$LC8
	.word	$LC9
	.rdata
	.align	2
$LC4:
	.ascii	"w+\000"
	.align	2
$LC5:
	.ascii	"Error al abrir el archivo %s\000"
	.align	2
$LC6:
	.ascii	"P2\n"
	.ascii	"%d %d\n"
	.ascii	"1\n\000"
	.align	2
$LC7:
	.ascii	"Error en escritura del archivo %s\000"
	.align	2
$LC11:
	.ascii	" \000"
	.align	2
$LC12:
	.ascii	"\n\000"
	.text
	.align	2
	.globl	create_pgm_chess
	.ent	create_pgm_chess
create_pgm_chess:
	.frame	$fp,104,$ra		# vars= 64, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,104
	.cprestore 16
	sw	$ra,96($sp)
	sw	$fp,92($sp)
	sw	$gp,88($sp)
	move	$fp,$sp
	sw	$a0,104($fp)
	sw	$a1,108($fp)
	sw	$a2,112($fp)
	sw	$a3,116($fp)
	sw	$zero,24($fp)
	sw	$zero,28($fp)
	lw	$v0,116($fp)
	beq	$v0,$zero,$L39
	la	$v0,__sF+88
	sw	$v0,28($fp)
	b	$L40
$L39:
	lw	$a0,112($fp)
	la	$a1,$LC4
	la	$t9,fopen
	jal	$ra,$t9
	sw	$v0,28($fp)
$L40:
	lw	$v0,28($fp)
	bne	$v0,$zero,$L41
	la	$a0,__sF+176
	la	$a1,$LC5
	lw	$a2,112($fp)
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v0,3			# 0x3
	sw	$v0,72($fp)
	b	$L38
$L41:
	lw	$a0,28($fp)
	la	$a1,$LC6
	lw	$a2,104($fp)
	lw	$a3,108($fp)
	la	$t9,fprintf
	jal	$ra,$t9
	lw	$v0,28($fp)
	lhu	$v0,12($v0)
	srl	$v0,$v0,6
	andi	$v0,$v0,0x1
	beq	$v0,$zero,$L42
	la	$a0,__sF+176
	la	$a1,$LC7
	lw	$a2,112($fp)
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v1,3			# 0x3
	sw	$v1,72($fp)
	b	$L38
$L42:
	lw	$v0,104($fp)
	sw	$v0,76($fp)
	lw	$v0,76($fp)
	bgez	$v0,$L43
	lw	$v1,76($fp)
	addu	$v1,$v1,7
	sw	$v1,76($fp)
$L43:
	lw	$v1,76($fp)
	sra	$v0,$v1,3
	sw	$v0,32($fp)
	lw	$v0,108($fp)
	sw	$v0,80($fp)
	lw	$v0,80($fp)
	bgez	$v0,$L44
	lw	$v1,80($fp)
	addu	$v1,$v1,7
	sw	$v1,80($fp)
$L44:
	lw	$v1,80($fp)
	sra	$v0,$v1,3
	sw	$v0,36($fp)
	sw	$zero,40($fp)
	sw	$zero,44($fp)
	sw	$zero,48($fp)
	sw	$zero,52($fp)
	lw	$v0,$LC10
	sw	$v0,56($fp)
	lw	$v0,$LC10+4
	sw	$v0,60($fp)
	sw	$zero,64($fp)
	sw	$zero,68($fp)
$L45:
	lw	$v0,52($fp)
	lw	$v1,108($fp)
	slt	$v0,$v0,$v1
	bne	$v0,$zero,$L47
	b	$L46
$L47:
	lw	$v0,68($fp)
	sw	$v0,64($fp)
$L48:
	lw	$v0,48($fp)
	lw	$v1,36($fp)
	sltu	$v0,$v0,$v1
	bne	$v0,$zero,$L52
	b	$L49
$L52:
	lw	$v0,44($fp)
	lw	$v1,104($fp)
	slt	$v0,$v0,$v1
	bne	$v0,$zero,$L55
	b	$L53
$L55:
	lw	$v0,40($fp)
	lw	$v1,32($fp)
	sltu	$v0,$v0,$v1
	bne	$v0,$zero,$L58
	b	$L56
$L58:
	lw	$v0,64($fp)
	sll	$v1,$v0,2
	addu	$v0,$fp,24
	addu	$v0,$v1,$v0
	addu	$v0,$v0,32
	lw	$a0,0($v0)
	li	$a1,1			# 0x1
	li	$a2,1			# 0x1
	lw	$a3,28($fp)
	la	$t9,fwrite
	jal	$ra,$t9
	lw	$v0,28($fp)
	lhu	$v0,12($v0)
	srl	$v0,$v0,6
	andi	$v0,$v0,0x1
	beq	$v0,$zero,$L59
	la	$a0,__sF+176
	la	$a1,$LC7
	lw	$a2,112($fp)
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v0,3			# 0x3
	sw	$v0,72($fp)
	b	$L38
$L59:
	lw	$v0,44($fp)
	addu	$v0,$v0,1
	sw	$v0,44($fp)
	lw	$v1,44($fp)
	lw	$v0,104($fp)
	slt	$v0,$v1,$v0
	beq	$v0,$zero,$L60
	la	$a0,$LC11
	li	$a1,1			# 0x1
	li	$a2,1			# 0x1
	lw	$a3,28($fp)
	la	$t9,fwrite
	jal	$ra,$t9
$L60:
	lw	$v0,28($fp)
	lhu	$v0,12($v0)
	srl	$v0,$v0,6
	andi	$v0,$v0,0x1
	beq	$v0,$zero,$L57
	la	$a0,__sF+176
	la	$a1,$LC7
	lw	$a2,112($fp)
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v1,3			# 0x3
	sw	$v1,72($fp)
	b	$L38
$L57:
	lw	$v0,40($fp)
	addu	$v0,$v0,1
	sw	$v0,40($fp)
	b	$L55
$L56:
	sw	$zero,40($fp)
	lw	$v0,64($fp)
	xori	$v0,$v0,0x0
	sltu	$v0,$v0,1
	sw	$v0,64($fp)
	b	$L52
$L53:
	sw	$zero,44($fp)
	lw	$v0,52($fp)
	addu	$v0,$v0,1
	sw	$v0,52($fp)
	la	$a0,$LC12
	li	$a1,1			# 0x1
	li	$a2,1			# 0x1
	lw	$a3,28($fp)
	la	$t9,fwrite
	jal	$ra,$t9
	lw	$v0,28($fp)
	lhu	$v0,12($v0)
	srl	$v0,$v0,6
	andi	$v0,$v0,0x1
	beq	$v0,$zero,$L62
	la	$a0,__sF+176
	la	$a1,$LC7
	lw	$a2,112($fp)
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v0,3			# 0x3
	sw	$v0,72($fp)
	b	$L38
$L62:
	lw	$v0,68($fp)
	sw	$v0,64($fp)
	lw	$v0,48($fp)
	addu	$v0,$v0,1
	sw	$v0,48($fp)
	b	$L48
$L49:
	sw	$zero,48($fp)
	lw	$v0,68($fp)
	xori	$v0,$v0,0x0
	sltu	$v0,$v0,1
	sw	$v0,68($fp)
	b	$L45
$L46:
	lw	$v0,116($fp)
	bne	$v0,$zero,$L63
	lw	$a0,28($fp)
	la	$t9,fclose
	jal	$ra,$t9
$L63:
	lw	$v0,24($fp)
	sw	$v0,72($fp)
$L38:
	lw	$v0,72($fp)
	move	$sp,$fp
	lw	$ra,96($sp)
	lw	$fp,92($sp)
	addu	$sp,$sp,104
	j	$ra
	.end	create_pgm_chess
	.size	create_pgm_chess, .-create_pgm_chess
	.rdata
	.align	2
$LC13:
	.ascii	"Usage: \n\000"
	.align	2
$LC14:
	.ascii	"tp0 -h \n"
	.ascii	" tp0 -V \n"
	.ascii	" tp0 [options]\n\000"
	.align	2
$LC15:
	.ascii	"Options: \n\000"
	.align	2
$LC16:
	.ascii	"-V, --version \t\tPrint version and quit.\n\000"
	.align	2
$LC17:
	.ascii	"-h, --help \t\tPrint this information.\n\000"
	.align	2
$LC18:
	.ascii	"-r, --resolution \tSet bitmap resolution to WxH pixels.\n"
	.ascii	"\000"
	.align	2
$LC19:
	.ascii	"-o, --output \t\tPath to output file.\n\000"
	.text
	.align	2
	.globl	print_help
	.ent	print_help
print_help:
	.frame	$fp,40,$ra		# vars= 0, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,40
	.cprestore 16
	sw	$ra,32($sp)
	sw	$fp,28($sp)
	sw	$gp,24($sp)
	move	$fp,$sp
	la	$a0,$LC13
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC14
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC15
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC16
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC17
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC18
	la	$t9,printf
	jal	$ra,$t9
	la	$a0,$LC19
	la	$t9,printf
	jal	$ra,$t9
	move	$sp,$fp
	lw	$ra,32($sp)
	lw	$fp,28($sp)
	addu	$sp,$sp,40
	j	$ra
	.end	print_help
	.size	print_help, .-print_help
	.rdata
	.align	2
$LC20:
	.ascii	"Version 1.0\000"
	.text
	.align	2
	.globl	print_version
	.ent	print_version
print_version:
	.frame	$fp,40,$ra		# vars= 0, regs= 3/0, args= 16, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,40
	.cprestore 16
	sw	$ra,32($sp)
	sw	$fp,28($sp)
	sw	$gp,24($sp)
	move	$fp,$sp
	la	$a0,$LC20
	la	$t9,printf
	jal	$ra,$t9
	move	$sp,$fp
	lw	$ra,32($sp)
	lw	$fp,28($sp)
	addu	$sp,$sp,40
	j	$ra
	.end	print_version
	.size	print_version, .-print_version
	.rdata
	.align	2
$LC21:
	.ascii	"help\000"
	.align	2
$LC22:
	.ascii	"version\000"
	.align	2
$LC23:
	.ascii	"resolution\000"
	.align	2
$LC24:
	.ascii	"output\000"
	.data
	.align	2
	.type	long_options.0, @object
	.size	long_options.0, 80
long_options.0:
	.word	$LC21
	.word	0
	.word	0
	.word	104
	.word	$LC22
	.word	0
	.word	0
	.word	86
	.word	$LC23
	.word	1
	.word	0
	.word	114
	.word	$LC24
	.word	1
	.word	0
	.word	111
	.word	0
	.word	0
	.word	0
	.word	0
	.rdata
	.align	2
$LC25:
	.ascii	"hVr:o:\000"
	.align	2
$LC26:
	.ascii	"Error al procesar linea de comandos\n\000"
	.align	2
$LC27:
	.ascii	"Se esperaba argumentos. Ver ayuda con -h.\n\000"
	.align	2
$LC28:
	.ascii	"-\000"
	.text
	.align	2
	.globl	main
	.ent	main
main:
	.frame	$fp,96,$ra		# vars= 48, regs= 3/0, args= 24, extra= 8
	.mask	0xd0000000,-8
	.fmask	0x00000000,0
	.set	noreorder
	.cpload	$t9
	.set	reorder
	subu	$sp,$sp,96
	.cprestore 24
	sw	$ra,88($sp)
	sw	$fp,84($sp)
	sw	$gp,80($sp)
	move	$fp,$sp
	sw	$a0,96($fp)
	sw	$a1,100($fp)
	sw	$zero,32($fp)
	li	$v0,8			# 0x8
	sw	$v0,36($fp)
	li	$v0,8			# 0x8
	sw	$v0,40($fp)
	li	$v0,1			# 0x1
	sw	$v0,44($fp)
	sw	$zero,52($fp)
	sw	$zero,56($fp)
	sw	$zero,60($fp)
	sw	$zero,64($fp)
$L67:
	addu	$v0,$fp,32
	sw	$v0,16($sp)
	lw	$a0,96($fp)
	lw	$a1,100($fp)
	la	$a2,$LC25
	la	$a3,long_options.0
	la	$t9,getopt_long
	jal	$ra,$t9
	sw	$v0,48($fp)
	lw	$v1,48($fp)
	li	$v0,-1			# 0xffffffffffffffff
	bne	$v1,$v0,$L69
	b	$L68
$L69:
	lw	$v0,48($fp)
	sw	$v0,76($fp)
	li	$v0,104			# 0x68
	lw	$v1,76($fp)
	beq	$v1,$v0,$L71
	lw	$v1,76($fp)
	slt	$v0,$v1,105
	beq	$v0,$zero,$L80
	li	$v0,63			# 0x3f
	lw	$v1,76($fp)
	beq	$v1,$v0,$L77
	li	$v0,86			# 0x56
	lw	$v1,76($fp)
	beq	$v1,$v0,$L72
	b	$L67
$L80:
	li	$v0,111			# 0x6f
	lw	$v1,76($fp)
	beq	$v1,$v0,$L75
	li	$v0,114			# 0x72
	lw	$v1,76($fp)
	beq	$v1,$v0,$L73
	b	$L67
$L71:
	la	$t9,print_help
	jal	$ra,$t9
	sw	$zero,72($fp)
	b	$L66
$L72:
	la	$t9,print_version
	jal	$ra,$t9
	sw	$zero,72($fp)
	b	$L66
$L73:
	li	$v0,1			# 0x1
	sw	$v0,52($fp)
	lw	$v0,optarg
	beq	$v0,$zero,$L67
	lw	$a0,optarg
	la	$t9,strlen
	jal	$ra,$t9
	addu	$v0,$v0,1
	move	$a0,$v0
	la	$t9,malloc
	jal	$ra,$t9
	sw	$v0,60($fp)
	lw	$a0,60($fp)
	lw	$a1,optarg
	la	$t9,strcpy
	jal	$ra,$t9
	b	$L67
$L75:
	li	$v0,1			# 0x1
	sw	$v0,56($fp)
	lw	$v0,optarg
	beq	$v0,$zero,$L67
	lw	$a0,optarg
	la	$t9,strlen
	jal	$ra,$t9
	addu	$v0,$v0,1
	move	$a0,$v0
	la	$t9,malloc
	jal	$ra,$t9
	sw	$v0,64($fp)
	lw	$a0,64($fp)
	lw	$a1,optarg
	la	$t9,strcpy
	jal	$ra,$t9
	b	$L67
$L77:
	la	$a0,__sF+176
	la	$a1,$LC26
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v0,1			# 0x1
	sw	$v0,72($fp)
	b	$L66
$L68:
	lw	$v1,96($fp)
	li	$v0,1			# 0x1
	bne	$v1,$v0,$L81
	la	$a0,__sF+176
	la	$a1,$LC27
	la	$t9,fprintf
	jal	$ra,$t9
	li	$v1,1			# 0x1
	sw	$v1,72($fp)
	b	$L66
$L81:
	sw	$zero,68($fp)
	lw	$v0,52($fp)
	beq	$v0,$zero,$L82
	addu	$v0,$fp,40
	addu	$v1,$fp,36
	lw	$a0,60($fp)
	move	$a1,$v0
	move	$a2,$v1
	la	$t9,getResolution
	jal	$ra,$t9
	sw	$v0,68($fp)
$L82:
	lw	$v0,68($fp)
	bne	$v0,$zero,$L83
	lw	$v0,56($fp)
	beq	$v0,$zero,$L83
	lw	$a0,64($fp)
	la	$a1,$LC28
	la	$t9,strcmp
	jal	$ra,$t9
	beq	$v0,$zero,$L83
	sw	$zero,44($fp)
$L83:
	lw	$v0,68($fp)
	bne	$v0,$zero,$L85
	lw	$a0,40($fp)
	lw	$a1,36($fp)
	lw	$a2,64($fp)
	lw	$a3,44($fp)
	la	$t9,create_pgm_chess
	jal	$ra,$t9
	sw	$v0,68($fp)
$L85:
	lw	$v0,60($fp)
	beq	$v0,$zero,$L86
	lw	$a0,60($fp)
	la	$t9,free
	jal	$ra,$t9
$L86:
	lw	$v0,64($fp)
	beq	$v0,$zero,$L87
	lw	$a0,64($fp)
	la	$t9,free
	jal	$ra,$t9
$L87:
	lw	$v0,68($fp)
	sw	$v0,72($fp)
$L66:
	lw	$v0,72($fp)
	move	$sp,$fp
	lw	$ra,88($sp)
	lw	$fp,84($sp)
	addu	$sp,$sp,96
	j	$ra
	.end	main
	.size	main, .-main
	.ident	"GCC: (GNU) 3.3.3 (NetBSD nb3 20040520)"
